﻿using System;
using System.Collections.Generic;

namespace EasyDDD.AdminModule.Models;

public partial record ApplicationRole
{
    /// <summary>
    /// ID
    /// </summary>
    public virtual Guid Id { get; set; } = default!;

    /// <summary>
    /// 软删除
    /// </summary>
    public virtual bool IsDeleted { get; set; } = default!;

    /// <summary>
    /// 租户ID
    /// </summary>
    public virtual Guid TenantId { get; set; } = default!;

    /// <summary>
    /// 状态
    /// </summary>
    public virtual short Status { get; set; } = default!;

    /// <summary>
    /// 角色类型
    /// </summary>
    public virtual int RoleType { get; set; } = default!;

    /// <summary>
    /// 角色名称
    /// </summary>
    public virtual string Name { get; set; } = default!;

    /// <summary>
    /// 角色标识
    /// </summary>
    public virtual string Code { get; set; } = default!;

    /// <summary>
    /// 系统默认
    /// </summary>
    public virtual bool IsSystem { get; set; } = default!;

    /// <summary>
    /// 备注
    /// </summary>
    public virtual string Remark { get; set; } = default!;

    public virtual string Discriminator { get; set; } = default!;

    /// <summary>
    /// 行版本
    /// </summary>
    public virtual Guid RowVersion { get; set; } = default!;
}
